﻿using System.ComponentModel;
using System.Windows.Media.Imaging;

namespace HuaWeiCamera.Model
{
    public class VideoYuvModelView : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;

        private WriteableBitmap bitmapImage { get; set; }

        public WriteableBitmap VideoWriteableBitmap
        {
            get => bitmapImage;
            set
            {
                bitmapImage = value;
                PropertyChanged?.Invoke(this,new PropertyChangedEventArgs("VideoBitmapImage"));
            }
        }
    }
}
